<!DOCTYPE html>
<html lang="es">
    <head>
        <base href="/admin/"/>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <meta name="description" content="">
        <meta name="author" content="">

        <title>betporra - admin</title>
        <link rel="shortcut icon" href="favicon.ico">

        <!-- Bootstrap core CSS -->
        <link href="web/css/bootstrap.min.css" rel="stylesheet">

        <!-- Add custom CSS here -->
        <link href="web/css/sb-admin.css" rel="stylesheet">

        <!-- Page-Level Plugin CSS - Font-awesome -->
        <link rel="stylesheet" href="web/font-awesome/css/font-awesome.min.css">

        <!-- Page-Level Plugin CSS - Validator -->
        <link href="web/css/bootstrapValidator.css" rel="stylesheet">

        <!-- Page-Level Plugin CSS - Tables -->
        <link href="web/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
        
        <!-- Page-Level Plugin CSS - DatePicker -->
        <link href="web/css/datepicker.css" rel="stylesheet" type="text/css" />
        
        <!-- JavaScript -->
        <script src="web/js/jquery-1.10.2.js"></script>
        <script src="web/js/bootstrap.min.js"></script>
        
        <script src="web/js/validator/bootstrapValidator.min.js"></script>
        
        <!-- Page Specific Plugins -->
        <script src="web/js/tablesorter/jquery.tablesorter.js"></script>
        <script src="web/js/tablesorter/tables.js"></script>

        <!-- Page-Level Plugin Scripts - Tables -->
        <script src="web/js/plugins/dataTables/jquery.dataTables.js"></script>
        <script src="web/js/plugins/dataTables/dataTables.bootstrap.js"></script>
        
        <!-- Page-Level Plugin Scripts - DatePicker -->
        <script type="text/javascript" src="web/js/bootstrap-datepicker.js"></script>
    </head>

    <body>

        <div id="wrapper">

            <!-- Sidebar -->
            <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="inicio">Administración</a>
                </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse navbar-ex1-collapse">
                    <ul class="nav navbar-nav side-nav">
                        <li><a href="home"><i class="fa fa-home"></i> Inicio</a></li>
                        <li><a href="competiciones"><i class="fa fa-trophy"></i> Competiciones</a></li>
                        <li><a href="partidos"><i class="fa fa-trophy"></i> Partidos</a></li>
                        <li><a href="porras"><i class="fa fa-trophy"></i> Porras</a></li>
                        <li><a href="equipos"><i class="fa fa-trophy"></i> Equipos</a></li>
                        <li><a href="regalos"><i class="fa fa-trophy"></i> Regalos</a></li>
                        <li><a href="premios"><i class="fa fa-gift"></i> Premios</a></li>
                        <li><a href="usuarios"><i class="fa fa-users"></i> Usuarios</a></li>
                    </ul>

                    <ul class="nav navbar-nav navbar-right navbar-user">
                        <li class="dropdown user-dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <?php echo $_SESSION['adminbetporra_usuario']; ?><b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="logout"><i class="fa fa-power-off"></i> Cerrar Sesión</a></li>
                            </ul>
                        </li>
                    </ul>
                </div><!-- /.navbar-collapse -->
            </nav>
            <div id="page-wrapper">
                <?php echo $contenido ?>
            </div><!-- /#page-wrapper -->

        </div><!-- /#wrapper -->

        <!-- Page-Level Scripts - Tables - Use for reference -->
        <script>
                $(document).ready(function() {
                    $('#dataTables-example').dataTable({
                        //"order": [[3, "desc"]]
                    });
                });

        </script>
    </body>
</html>